package com.yugao.fintech.draper.admin.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.yugao.fintech.draper.auth.dto.ClientDetailsDTO;
import com.yugao.fintech.draper.admin.param.ClientDetailsQuery;

import java.util.List;

public interface Oauth2ClientDetailsService {

	/**
	 * 添加
	 */
	Boolean addClientDetails(ClientDetailsDTO clientDetailsDTO);

	/**
	 * 修改
	 */
	Boolean updateClientDetails(ClientDetailsDTO clientDetailsDTO);

	/**
	 * 分页
	 */
	IPage<ClientDetailsDTO> pageQuery(ClientDetailsQuery clientDetailsQueryVo);

	/**
	 * 获取单条
	 */
	ClientDetailsDTO findById(String id);

	/**
	 * 获取全部
	 */
	List<ClientDetailsDTO> findAll();

	/**
	 * 删除
	 */
	Boolean deleteClientDetails(String id);

}